package com.seveneight.baijiesteward.ui.main.contract;

import android.content.Context;

import com.seveneight.baijiesteward.bean.AnyBean;
import com.seveneight.baijiesteward.http.MyCallBack;

import okhttp3.RequestBody;

/**
 * Created by user1 on 2018/2/24.
 */

public interface ForgetPwdContract {

    interface ForgetPwdView {
        void rebackCode();

        void rebackLoginPwd();

        void rebackTradePwd();
    }

    interface ForgetPwdModel {
        void getCode(Context context,RequestBody body, MyCallBack<AnyBean> callBack);

        void changeLoginPwd(Context context,RequestBody body, MyCallBack<AnyBean> callBack);

        void changeTradePwd(Context context,RequestBody body, MyCallBack<AnyBean> callBack);

    }

    interface ForgetPwdPresenter {
        void getCode(Context context,RequestBody body);

        void changeLoginPwd(Context context,RequestBody body);

        void changeTradePwd(Context context,RequestBody body);
    }

}
